home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / bgfax160.zip / MAXIMUS2.TXT < prev    next >
Text File  |  1995-08-21  |  2KB  |  60 lines

  1. --------------------------------------------------------------------------
  2. Setup hints for using BGFAX with Maximus/2                        05-01-95
  3. B.J. Guillot
  4. FidoNet 1:106/400                         InterNet: bjg90783@jetson.uh.edu
  5. --------------------------------------------------------------------------
  6.  
  7. THIS FILE ASSUMES YOU ARE RUNNING THE *OS/2* VERSION OF MAXIMUS
  8.  
  9. Because Maximus does not offer the ability to exit when it detects a fax
  10. response code from the modem, you must run BGFAX2 in /HOST mode.  Thus,
  11. BGFAX2 will answer the phone rather than Maximus!
  12.  
  13. 1. From now on, to get your system ready to answer calls, start up your
  14.    BBS by using the FBBS.CMD as given below
  15. 2. Be sure all the BGFAX files are copied into the directory as specified
  16.    by the BGFAX environment variable (A "SET BGFAX=C:\BGFAX" line must
  17.    exist in either your OS/2 CONFIG.SYS or FBBS.CMD file).
  18. 3. Make sure your BGFAX.CNF file is configured to use the proper fax class
  19.    that your modem supports (you may need to comment and uncomment some
  20.    lines in the BGFAX.CNF file).
  21.  
  22. You need to make a file called FBBS.CMD in the BGFAX directory.
  23.  
  24.  
  25.  @echo off
  26.  rem ***** This is an example command file for frontend mode operation
  27.  set bgfax=c:\bgfax
  28.  c:
  29.  cd %bgfax%
  30.  bgfax2 /host /sb
  31.  if errorlevel 4 fbbs.cmd
  32.  if errorlevel 3 local.cmd
  33.  if errorlevel 2 goto datacall
  34.  if errorlevel 1 fbbs.cmd
  35.  goto end
  36.  :datacall
  37.    rem ***** Errorlevel 2 = Data Call,  Errorlevel 3 = Local Logon
  38.    rem ***** The following line executes the DOBBS.BAT file created by BGFAX2
  39.    rem ***** which then runs EXEBBS.BAT which should load your BBS software.
  40.    %bgfax%\dobbs.bat
  41.  :end
  42.  
  43. The /SB switch is required to make BGFAX/2 work with Maximus/2.  This causes
  44. BGFAX/2 to _spawn_ Maximus and put the OS/2 com handle in the DOBBS.CMD file
  45. rather than the com port number.
  46.  
  47. You also need to make a file called EXEBBS.CMD in the BGFAX directory.
  48.  
  49.         @echo off
  50.         d:
  51.         cd\max
  52.         maxp -b%1 -p%2
  53.  
  54. When Maximus exists and returns to BGFAX/2 from the spawn, BGFAX/2 will
  55. then exit with an errorlevel 1 for "recycle" so that your FBBS.CMD will
  56. restart BGFAX.
  57.  
  58. Regards,
  59. bgfax author
  60.